import request from '../utils/request'
interface  login{
    username:string,
    password:string
}
export const loginpm=(params:login)=>{
      return request({
        url:'/api/logines',
        method:'GET',
        params
      })
}
export const userpom=(params:any)=>{
  return request({
    url:'/api/userinfo',
    method:'GET',
    params
  })
}

export const dataes=(params:any)=>{
  return request({
    url:'/api/datalist',
    method:'GET',
    params
  })
}